﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RptValueSale.aspx.cs" Inherits="ZX.WebApp.Crm.Report.RptValueSale" %>
<%@ Register Assembly="DevExpress.XtraReports.v11.2.Web, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.XtraReports.Web" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="/Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <link href="../../../Styles/extendTable.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <style type="text/css">
        .link{color:Blue;}
    </style>
    <script type="text/javascript">
        var check = function (obj) {
            $("#hdnFd").val(obj);
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div id="content">
                <h3>
                    查询</h3>
                <table class="tableContent">
                <%--<tr><td width="10%" align="right">统计类别：</td><td>
                                <asp:RadioButtonList ID="rblList" runat="server" RepeatDirection="Horizontal" Width="200px">
                                <asp:ListItem Text="按产品" Value="0" Selected="True"></asp:ListItem>
                                <asp:ListItem Text="按销售渠道" Value="1"></asp:ListItem>
                                </asp:RadioButtonList></td></tr>--%>
                    <tr>
                        <td align="right">
                            产生日期：
                        </td>
                        <td>
                            &nbsp;&nbsp;从<input type="text" runat="server" class="inputText Wdate"
                                id="txtStime" style="width: 145px;" onfocus="WdatePicker({doubleCalendar:true,dateFmt:'yyyy-MM-dd'})" />
                                  至<input type="text" runat="server" class="inputText Wdate"
                                id="txtEtime" style="width: 145px;" onfocus="WdatePicker({doubleCalendar:true,dateFmt:'yyyy-MM-dd'})" />
                            <asp:Button ID="btnSearch" runat="server" Text="查询" OnClientClick="return check('')" OnClick="btnSearch_Click" CssClass="btnCheck" />总额：<font color='red'><b><asp:Label ID="lblTotalMoney" runat="server" Text="0"></asp:Label></font></b> 万元
                        </td>
                    </tr>
                    <tr>
                    <th align="right"></th>
                    <td align="left"><b>&nbsp;&nbsp;<asp:LinkButton ID="lnkMonth" runat="server" OnClick="btnSearch_Click" CssClass="link" OnClientClick="return check('month');">本月</asp:LinkButton>
                    &nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="lnkSeason" runat="server" OnClick="btnSearch_Click" CssClass="link" OnClientClick="return check('season');">本季度</asp:LinkButton>
                    &nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="lnkYear" runat="server" OnClick="btnSearch_Click"  CssClass="link" OnClientClick="return check('year');">本年</asp:LinkButton></b> 
                    <asp:HiddenField ID="hdnFd" runat="server" />
                    </td>
                   </tr>
                </table></div>
        <dx:ReportToolbar ID="ReportToolbar1" runat="server" ShowDefaultButtons="False" 
            Width="778px">
            <Items>
                <dx:ReportToolbarButton ItemKind="Search" />
                <dx:ReportToolbarSeparator />
                <dx:ReportToolbarButton ItemKind="PrintReport" />
                <dx:ReportToolbarButton ItemKind="PrintPage" />
                <dx:ReportToolbarSeparator />
                <dx:ReportToolbarButton Enabled="False" ItemKind="FirstPage" />
                <dx:ReportToolbarButton Enabled="False" ItemKind="PreviousPage" />
                <dx:ReportToolbarLabel ItemKind="PageLabel" />
                <dx:ReportToolbarComboBox ItemKind="PageNumber" Width="65px">
                </dx:ReportToolbarComboBox>
                <dx:ReportToolbarLabel ItemKind="OfLabel" />
                <dx:ReportToolbarTextBox IsReadOnly="True" ItemKind="PageCount" />
                <dx:ReportToolbarButton ItemKind="NextPage" />
                <dx:ReportToolbarButton ItemKind="LastPage" />
                <dx:ReportToolbarSeparator />
                <dx:ReportToolbarButton ItemKind="SaveToDisk" />
                <dx:ReportToolbarButton ItemKind="SaveToWindow" />
                <dx:ReportToolbarComboBox ItemKind="SaveFormat" Width="70px">
                    <Elements>
                        <dx:ListElement Value="pdf" />
                        <dx:ListElement Value="xls" />
                        <dx:ListElement Value="xlsx" />
                        <dx:ListElement Value="rtf" />
                        <dx:ListElement Value="mht" />
                        <dx:ListElement Value="html" />
                        <dx:ListElement Value="txt" />
                        <dx:ListElement Value="csv" />
                        <dx:ListElement Value="png" />
                    </Elements>
                </dx:ReportToolbarComboBox>
            </Items>
            <Styles>
                <LabelStyle>
                <Margins MarginLeft="3px" MarginRight="3px" />
                </LabelStyle>
            </Styles>
        </dx:ReportToolbar>
        <dx:ReportViewer ID="RV" runat="server">
        </dx:ReportViewer>
    
    </div>
    </form>
</body>
</html>
